import request from '@/utils/request'

// 获取操作日志列表
export function getOperationLogs(params) {
  return request({
    url: '/system/operation-logs/',
    method: 'get',
    params
  })
}

// 获取操作日志详情
export function getOperationLogDetail(id) {
  return request({
    url: `/system/operation-logs/${id}/`,
    method: 'get'
  })
}